from django.shortcuts import render,HttpResponse

# Create your views here.
def register(request):
    if request.method == 'POST':
        user_name = request.POST.get('username')
        user_pwd = request.POST.get('password')
        # print(user_pwd) # 123
        # print(user_name) # nana
        # 2.在数据库中比对，读出来

    return render(request,'register.html')
